package pay.commont;

public enum OrderStatus {
    TREAT_PAY(0, "待支付"),
    PAY_SUCCESS(1, "支付成功"),
    CANCEL_PAY(-1, "已取消"),
    ALL_REFUND(-2, "全额退款"),
    PART_REFUND(-3, "部分退款"),
    WAIR_REFUND(-4, "待退款");
    private Integer code;
    private String desc;

    OrderStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
